package fun.sanguo.model.dto.sys;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import fun.sanguo.model.entity.sys.SysUserEntity;
import fun.sanguo.model.enums.UserLogonEnums;

/**
 * 系统-用户信息 用户注册返回结果
 *
 * @author ZYP
 * @date 2023-07-11
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class SysUserLogonResult {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 登陆token，前端备用
     */
    private SaTokenInfo token;

    /**
     * 用户基础信息
     */
    private SysUserEntity userInfo;

    /**
     * 默认密码
     */
    private String defaultPassword;

    /**
     * 注册状态
     */
    private UserLogonEnums status;
}
